package com.oig.sys.auth.service;

import com.oig.sys.auth.dto.JobDto;
import com.oig.sys.auth.dto.RoleDto;
import com.oig.sys.auth.entity.TbJob;
import com.oig.sys.auth.vo.RoleVo;

import java.util.List;


/**
 * @author wuxl
 */
public interface ITbJobRoleService {

    List<RoleVo> addJobRole(TbJob job, List<RoleDto> roleDtoList);


    List<RoleVo> updateJobRole(TbJob job, List<RoleDto> roleDtoList);


    void delJobRoleByRoleId(Integer roleId);

    void delJobRoleByJobId(Integer jobId);

    List<Integer> findAllRoleIdByJob(List<JobDto> jobDtoList);

    List<RoleVo> getJobRole(Integer jobId);
}
